package com.hospital.workstation.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 续一表视图对象 electronic_extend_one_info
 *
 * @author whb
 * @date 2024-05-07
 */
@Data
@ExcelIgnoreUnannotated
public class ElectronicExtendOneInfoVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 监测表id
     */
    @ExcelProperty(value = "监测表id")
    private Long monitorId;

    /**
     * 次数
     */
    @ExcelProperty(value = "次数")
    private Integer count;

    /**
     * 给药开始时间
     */
    @ExcelProperty(value = "给药开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date beginTime;

    /**
     * 批号
     */
    @ExcelProperty(value = "批号")
    private String batchNo;

    /**
     * 配液放置时间（min）
     */
    @ExcelProperty(value = "配液放置时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=in")
    private String placeTime;

    /**
     * 给药频率（次/天）
     */
    @ExcelProperty(value = "给药频率", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "次=/天")
    private String frequency;

    /**
     * 单次用药量（ml）
     */
    @ExcelProperty(value = "单次用药量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=l")
    private String singleAmount;

    /**
     * 溶媒种类
     */
    @ExcelProperty(value = "溶媒种类")
    private String menstruumType;

    /**
     * 单次溶媒剂量（ml）
     */
    @ExcelProperty(value = "单次溶媒剂量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=l")
    private String singleMenstruumAmount;

    /**
     * 给药途径
     */
    @ExcelProperty(value = "给药途径")
    private String giveIllnessPathway;

    /**
     * 静滴速度（滴/min）
     */
    @ExcelProperty(value = "静滴速度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "滴=/min")
    private String quietSpeed;

    /**
     * 静滴持续时间（min）
     */
    @ExcelProperty(value = "静滴持续时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=in")
    private String quietContinueTime;

    /**
     * 溶媒种类(其它)
     */
    private String menstruumTypeOther;

    /**
     * 给药途径(其它)
     */
    private String giveIllnessPathwayOther;
}
